* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #040c1a;
  overflow-x: hidden;
  overflow-y: hidden;
  

}

.star {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #00ffcc;
  border-radius: 50%;
 
  animation: starTrail 3s linear forwards;
}

@keyframes starTrail {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-200px, 200px) scale(0);
    opacity: 0;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0px 40px;
  background-color: #040c1a;
  position: relative;
  margin-top: 10px;
}

.logo {
  z-index: 1;
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  box-shadow: 0 0 6px #00ffe7, 0 0 10px #00ffe7;
  transform: scale(1.1);
  transition: all 0.3s ease;
  margin-top: 20px;
}

.logo img:hover {
  transform: scale(1.2);
}

nav ul {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 60px;
  list-style: none;
}

nav ul li a {
  color: #00ffe7;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #00ffe7;
  transition: width 0.3s ease-in-out;
}

nav ul li a:hover {
  color: #00ffe7;
  transform: scale(1.02);
}

nav ul li a:hover::after {
  width: 100%;
}

hr {
  margin-left: 30rem;
  margin-right: 30rem;
  background-color: #00ffe7;
  height: 2px;
  border: none;
}

.contactsection{
  margin-top: 4rem;
  height: 520px;
  width: 500px;
  background-color: rgb(65, 183, 192);
  margin-left: 35%;
  border-radius: 30px
}

.contact-container{
  display: flex;
  margin-top: 0px;
 
}


.contact-left{
  display: flex;
  flex-direction:column;
  align-items: start;
  gap: 30px;
  margin-left: 3rem;
 
}
.contact-left-title h2{
  font-weight: 600px;
  color: rgb(20, 1, 60);
  font-size: 40px;
  margin-bottom: 10px;
  margin-left: 6rem;


}
.divider{
  height: 5px;
  background-color: rgb(5, 2, 51);
  border-radius: 30px;
  width: 21rem;
  margin-left: 25px;
}
.contact-left-title hr{
  border: none;
  width:100rem;
  height: 5px;
  background-color: darksalmon;
  border-radius: 10px;
  
}
.contact-inputs{
  width: 400px;
  height: 50px;
  border: none;
  outline: none;
  padding-left: 25px;
  font-weight: 500;
  color: rgb(0, 0, 0);
  border-radius: 50px;
  border-radius: 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
} 

.contact-left textarea{
  height: 160px;
  padding-top:20px;
  border-radius: 20px;
 font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;


}
.contact-inputs::placeholder{
  color: rgb(110, 83, 83);
}

.contact-left button{
  display: flex;
  border-radius: 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  align-items: center;
  padding: 15px 30px;
  font-size: 16px;
  color: rgb(0, 0, 0);
  gap: 10px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(270deg,#000000 ,#c1fce2);
  cursor: pointer;
}

@media (max-width: 1024px) {
  /* NAVIGATION */
  nav {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    position: static;
    transform: none;
    margin-top: 10px;
  }

  .logo img {
    width: 45px;
    height: 45px;
    margin-top: 10px;
  }

  hr {
    margin: 0 4rem;
  }

  /* CONTACT SECTION */
  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
  }

  .contactsection {
    width: 90%;
    height: auto;
    margin: 2rem auto;
  }

  .contact-left {
    align-items: center;
    margin-left: 0;
    gap: 20px;
  }

  .contact-left-title h2 {
    font-size: 2rem;
    text-align: center;
  }

  .divider,
  .contact-left-title hr {
    width: 80%;
    height: 4px;
  }

  .contact-inputs,
  .contact-left textarea {
    width: 90%;
  }

  .contact-right {
    display: none;
  }
}


/* TABLET SCREEN */
@media (max-width: 1024px) {
nav {
  flex-direction: column;
  height: auto;
  padding: 10px 20px;
}

nav ul {
  flex-direction: column;
  gap: 15px;
  position: static;
  transform: none;
  margin-top: 10px;
}

.logo img {
  width: 45px;
  height: 45px;
  margin-top: 10px;
}

hr {
  margin: 0 5rem;
}

.contact-container {
  flex-direction: column;
  padding: 2rem 1rem;
}

.contact-right {
  display: none;
}

.contact-left-title h2 {
  font-size: 2rem;
}
}

/* SMALL DEVICES */
@media (max-width: 600px) {
.contact-left-title h2 {
  font-size: 1.5rem;
}

.contact-left button {
  font-size: 14px;
  padding: 12px 22px;
}

.contact-inputs,
.contact-left textarea {
  font-size: 0.95rem;
}
}
 
 
